-- GENERATED SPELL FOR [Bone Spider] --


function spell0_32484(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(744,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32484', 30000, 1)
end

function Sorts_32484(pUnit, Event)
local choix_sorts_32484 = math.random(0, 0)
if choix_sorts_32484 == 0 then
pUnit:RegisterEvent('spell0_32484', 1, 1)
end
end

function mob32484_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32484', math.random(1500, 3000), 1)
end

function mob32484_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32484_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32484_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32484, 1, 'mob32484_Action')
RegisterUnitEvent(32484, 2, 'mob32484_Leave')
RegisterUnitEvent(32484, 3, 'mob32484_Kill')
RegisterUnitEvent(32484, 4, 'mob32484_Die')
